Getting Started with Python and Raspberry Pi by Dan Nixon

Getting Started with Python and Raspberry Pi by Dan Nixon

Author:Dan Nixon
Language: eng
Format: epub, pdf
Publisher: Packt Publishing


The exact value of the resistor can be calculated using an online tool, such as the one found at ledcalc.com. Here, the supply voltage should be 3.3V, the LED current should be 20mA, and the number of LEDs should be 1. The voltage drop will depend on the type of LEDs you use (the site has a reasonable guide based on the color of the LED).

Digital electronics

Before we start interfacing the Pi to any electronics, we will first take a look at some of the fundamentals of digital electronics.

Logic in digital electronics is composed of two states: high and low. Typically, low is represented by the signal being close to the ground (0V) and high is represented by being close to a reference voltage (usually, the operating voltage of the logic device). In the case of the Raspberry Pi, it is 3.3V.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.